package org.example.pattern.chain.handler;

/**
 * beyond u self and trust u self.
 *
 * @Author: lbc
 * @Date: 2023-05-12 11:17
 * @email: 594599620@qq.com
 * @Description: oh my god！ niu bi...
 */
public abstract class GatewayHandler {

    protected GatewayHandler next;

    /**
     * 校验
     */
    public abstract void check();

    public void setNext(GatewayHandler next) {
        this.next = next;
    }

}
